﻿/*******************************************************************************
 * Copyright © 2016 luomingui 版权所有
 * Website：http://luomingui.cnblogs.com
 * Author: Luomg
 * CreateDate: 2023年8月6日 
 * Description: sys_oper_log 操作日志记录

*********************************************************************************/

using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations.Schema;

namespace Lmg.Model
{
    /// <summary>
    /// 操作日志记录 
    /// </summary>
    [TableAttribute("sys_oper_log")]
    [System.Diagnostics.DebuggerDisplay("oper_id:{oper_id}, title:{title}")]
    public partial class sys_oper_log
    {
        /// <summary>
        /// 操作日志记录
        /// sys_oper_log
        /// </summary>
        public sys_oper_log()
        {

        }
        /// <summary>
        /// 日志主键
        /// </summary>
        public long oper_id { get; set; }

        /// <summary>
        /// 模块标题
        /// </summary>
        public string title { get; set; }

        /// <summary>
        /// 业务类型（0其它 1新增 2修改 3删除）
        /// </summary>
        public int business_type { get; set; }

        /// <summary>
        /// 方法名称
        /// </summary>
        public string method { get; set; }

        /// <summary>
        /// 请求方式
        /// </summary>
        public string request_method { get; set; }

        /// <summary>
        /// 操作类别（0其它 1后台用户 2手机端用户）
        /// </summary>
        public int operator_type { get; set; }

        /// <summary>
        /// 操作人员
        /// </summary>
        public string oper_name { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string dept_name { get; set; }

        /// <summary>
        /// 请求URL
        /// </summary>
        public string oper_url { get; set; }

        /// <summary>
        /// 主机地址
        /// </summary>
        public string oper_ip { get; set; }

        /// <summary>
        /// 操作地点
        /// </summary>
        public string oper_location { get; set; }

        /// <summary>
        /// 请求参数
        /// </summary>
        public string oper_param { get; set; }

        /// <summary>
        /// 返回参数
        /// </summary>
        public string json_result { get; set; }

        /// <summary>
        /// 操作状态（0正常 1异常）
        /// </summary>
        public int status { get; set; }

        /// <summary>
        /// 错误消息
        /// </summary>
        public string error_msg { get; set; }

        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime? oper_time { get; set; }

        /// <summary>
        /// 消耗时间
        /// </summary>
        public long cost_time { get; set; }
    }
}

